tools/xl: Call init function for libxl_domain_sched_params
authorUma Sharma <uma.sharma523@gmail.com>
Mon, 20 Oct 2014 21:42:11 +0000 (03:12 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 12 Jan 2015 17:35:44 +0000 (17:35 +0000)
commit06a4ef1a4dfb844e83eda2cc439d6c5e340c7acb
tree217dd1514c06a9fc2ecf4f9bd4b5976efbd448cb
parentcb3cd625899249da3919dc16989e6b21aa0e66a4
tools/xl: Call init function for libxl_domain_sched_params

This patch calls init function for libxl_domain_sched_params before
passing it as reference to sched_domain_get() function in
tools/libxl/xl_cmdimpl.c
IDL generated libxl types should be used only after calling the init
function even if the variable is simply being passed by reference as
an output parameter to a libxl function

Signed-off-by: Uma Sharma <uma.sharma523@gmail.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
--
tools/libxl/xl_cmdimpl.c